package com.gilight.base.model;

/**
 * 操作日志
 */
public class SysOperatorLog {
    /**
     * 主键
     */
    private Long id;
    /**
     * IP地址
     */
    private String ip;
    /**
     * 请求参数
     */
    private String requestParam;
    /**
     * 请求类型
     */
    private String requestType;
    /**
     * 请求方法
     */
    private String method;
    /**
     * 请求路径
     */
    private String requestUrl;
    /**
     * 操作人用户名称
     */
    private String realName;
    /**
     * 操作人用户账户
     */
    private String userName;
    /**
     * 操作详细日志
     */
    private String logContent;
    /**
     * 操作类型（查询，添加，修改，删除，导入，导出）
     */
    private String operateType;
    /**
     * 耗时
     */
    private Long costTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getRequestParam() {
        return requestParam;
    }

    public void setRequestParam(String requestParam) {
        this.requestParam = requestParam;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getLogContent() {
        return logContent;
    }

    public void setLogContent(String logContent) {
        this.logContent = logContent;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }

    public Long getCostTime() {
        return costTime;
    }

    public void setCostTime(Long costTime) {
        this.costTime = costTime;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
